home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Developer CD Series 1997 February: Technology Seed
/
Mac Tech Seed Feb '97.toast
/
OpenDoc 1.2b2c1
/
Implementation
/
Utilities
/
ISOStr.cpp
< prev
next >
Encoding:
Amiga (detected)
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1997-02-13
|
427 b
|
31 lines
|
[
TEXT/MPS
]
/*
File: ISOString.cpp
Contains: Routines for manipulating ISO Strings
Owned by: Vincent Lo
Copyright: © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
In Progress:
*/
#ifndef _ISOSTR_
#include "ISOStr.h"
#endif
#ifndef _ODMEMORY_
#include "ODMemory.h"
#endif
#include <string.h>
ODISOStr ODISOStrFromCStr (const char* cstring)
{
return strcpy( (char*)ODNewPtr(strlen(cstring)+1), cstring );
}